﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Farmacia.Entities;
using Farmacia.BussinessLogic;

using Microsoft.Practices.Unity;

namespace Farmacia.net.Almacen
{
    public partial class frmProductoStock : BasePage<frmProductoStock>
    {
        [Dependency]
        public iProductoBL ProductoBL{get; set;}

        [Dependency]
        public iProductoAlmacenBL ProductoAlmacenBL{get; set;}

        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void ODSProd_ObjectCreating(object sender, ObjectDataSourceEventArgs e)
        {
            e.ObjectInstance = ProductoBL;
        }

        protected void ODSPRODSTOCK_ObjectCreating(object sender, ObjectDataSourceEventArgs e)
        {
            e.ObjectInstance = ProductoBL;
        }

        protected void ODSStockporAlmacen_ObjectCreating(object sender, ObjectDataSourceEventArgs e)
        {
            e.ObjectInstance = ProductoBL;
        }



    }
}